package jdk8的特性.Stream.数值流;

/**
 * @author idea
 * @data 2018/9/15
 */
public class Food {
    //食物的价格
    public int money;

    //食物的质量
    public int weight;

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}
